﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace StudyStationWEBAPI.Model
{
    public class Comment
    {
        [Key]
        [ScaffoldColumn(false)]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long commentID { get; set; }
        public string userName { get; set; }
        public string content { get; set; }
        public DateTime time { get; set; }
        public string fileName { get; set; }
        public StudyResource studyResource { get; set; }

    }
}
